<?php
/**
 * User信息
 *
 */
class FriendshipsModel {

	static function Db() {
		return ApiDB::Instance($GLOBALS['CONFIG_DATABASE']);
	}

	/**
	 * 获取双向关注列表
	 * @param unknown_type $token
	 * @param unknown_type $uid
	 * @param unknown_type $page
	 * @param unknown_type $count
	 * @return Ambigous <multitype:, mixed, string>
	 */
	static function bilateral($token, $uid=null, $page=null, $count=20) {
		$c = new SaeTClientV2( SINAWB_AKEY , SINAWB_SKEY , $token );
		$uid_get = $c->get_uid();
		$uid = $uid_get['uid'];
		return $c->bilateral( $uid, $page, $count);
	}

}
